package com.iflytek.edu;

import org.nutz.mvc.annotation.*;
import org.nutz.mvc.ioc.provider.ComboIocProvider;

/**
 * 启动类
 */

@SetupBy(value = MainSetup.class)
@IocBy(type = ComboIocProvider.class, args = {"*js",
        "config/ioc/",
        "*anno",
        "com.iflytek.edu",
        "*async",
        "*tx"  //声明5种不同事务级别的拦截器.
})
@Modules(packages = {"com.iflytek.edu.controller"}, scanPackage = true)
@ChainBy(args = "config/chain/mvc-chain.js")
@Ok("json:full")
@Fail("jsp:jsp.500")
@Localization(value = "locales/", defaultLocalizationKey = "zh-CN")
public class MainModule {
}
